﻿using Aspose.Words.Lists;
using NP.BPMReportPlatform.Entities.BPM_Platform;
using System;
using System.Collections.Generic;

namespace NP.BPMReportPlatform.RecurringJobs.Dto
{
    public class UserPositionRelationsDto
    {
        /// <summary>
        /// Desc:主键
        /// Default:
        /// Nullable:False
        /// </summary>           
        public Guid UserPositionRelationId { get; set; }

        /// <summary>
        /// Desc:岗位Id
        /// Default:
        /// Nullable:False
        /// </summary>           
        public Guid PositionId { get; set; }

        /// <summary>
        /// Desc:用户Id
        /// Default:
        /// Nullable:False
        /// </summary>           
        public Guid UserId { get; set; }

        /// <summary>
        /// Desc:是否主岗
        /// Default:
        /// Nullable:False
        /// </summary>           
        public bool PrimaryPosition { get; set; }

        /// <summary>
        /// Desc:开始日期
        /// Default:
        /// Nullable:False
        /// </summary>           
        public DateTime StartDate { get; set; }

        /// <summary>
        /// Desc:结束日期
        /// Default:
        /// Nullable:False
        /// </summary>           
        public DateTime EndDate { get; set; }

        /// <summary>
        /// Desc:是否有效
        /// Default:
        /// Nullable:False
        /// </summary>           
        public bool IsActive { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string F1 { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string F2 { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string F3 { get; set; }
    }

    public class ESBPostRelationOutput
    {
        public string code { get; set; }

        public string msg { get; set; }

        public string page { get; set; }

        public string page_size { get; set; }

        public string count { get; set; }

        public string previous_page { get; set; }

        public string next_page { get; set; }

        public List<PostRelations> data { get; set; } = new List<PostRelations>();
    }
}
